/**
 * Created with JetBrains WebStorm.
 * User: Eric
 * Date: 16/03/13
 * Time: 22:55
 * To change this template use File | Settings | File Templates.
 */
exports.dump = function (v) {
    switch (typeof v) {
        case "object":
            for (var i in v) {
                console.log(i+":"+v[i]);
            }
            break;
        default: //number, string, boolean, null, undefined
            console.log(typeof v+":"+v);
            break;
    }
}